package com.lcredu.service.impl;

import com.lcredu.dao.AdminDAO;
import com.lcredu.dao.impl.AdminDAOImpl;
import com.lcredu.entity.Admin;
import com.lcredu.service.AdminService;

/**
 * @author 黎长容
 * @date 2025-07-06 12:39
 */
public class AdminServiceImpl implements AdminService {
    private AdminDAO adminDAO = new AdminDAOImpl();

    @Override
    public Admin getAdmin(String username, String password) {
        return adminDAO.getAdmin(username, password);
    }
}
